PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.shadings Package
/
PDFAxialShading Class
/ setStartColor Method
The shading start color.
Collapse All
Expand All
In This Topic
setStartColor Method
In This Topic
Sets the shading start color.
The startColor and endColor can be set only when the shading uses an exponential function ().
Syntax
public
void
setStartColor(
PDFColor
startColor
)
Parameters
startColor
The shading start color.
Exceptions
Exception
Description
java.lang.IllegalArgumentException
when the start color is null or shading function is not an exponential function.
See Also
Reference
PDFAxialShading Class
PDFAxialShading Members